﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014CF RID: 5327
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UpdateRotaterScNotify : IMessage<UpdateRotaterScNotify>, IMessage, IEquatable<UpdateRotaterScNotify>, IDeepCloneable<UpdateRotaterScNotify>, IBufferMessage
	{
		// Token: 0x1700430F RID: 17167
		// (get) Token: 0x0600EE3A RID: 60986 RVA: 0x0027C571 File Offset: 0x0027A771
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UpdateRotaterScNotify> Parser
		{
			get
			{
				return UpdateRotaterScNotify._parser;
			}
		}

		// Token: 0x17004310 RID: 17168
		// (get) Token: 0x0600EE3B RID: 60987 RVA: 0x0027C578 File Offset: 0x0027A778
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UpdateRotaterScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004311 RID: 17169
		// (get) Token: 0x0600EE3C RID: 60988 RVA: 0x0027C58A File Offset: 0x0027A78A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UpdateRotaterScNotify.Descriptor;
			}
		}

		// Token: 0x0600EE3D RID: 60989 RVA: 0x0027C591 File Offset: 0x0027A791
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateRotaterScNotify()
		{
		}

		// Token: 0x0600EE3E RID: 60990 RVA: 0x0027C5A4 File Offset: 0x0027A7A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateRotaterScNotify(UpdateRotaterScNotify other) : this()
		{
			this.rotaterDataList_ = other.rotaterDataList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600EE3F RID: 60991 RVA: 0x0027C5CE File Offset: 0x0027A7CE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateRotaterScNotify Clone()
		{
			return new UpdateRotaterScNotify(this);
		}

		// Token: 0x17004312 RID: 17170
		// (get) Token: 0x0600EE40 RID: 60992 RVA: 0x0027C5D6 File Offset: 0x0027A7D6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<RotaterData> RotaterDataList
		{
			get
			{
				return this.rotaterDataList_;
			}
		}

		// Token: 0x0600EE41 RID: 60993 RVA: 0x0027C5DE File Offset: 0x0027A7DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UpdateRotaterScNotify);
		}

		// Token: 0x0600EE42 RID: 60994 RVA: 0x0027C5EC File Offset: 0x0027A7EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UpdateRotaterScNotify other)
		{
			return other != null && (other == this || (this.rotaterDataList_.Equals(other.rotaterDataList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600EE43 RID: 60995 RVA: 0x0027C620 File Offset: 0x0027A820
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.rotaterDataList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600EE44 RID: 60996 RVA: 0x0027C654 File Offset: 0x0027A854
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600EE45 RID: 60997 RVA: 0x0027C65C File Offset: 0x0027A85C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600EE46 RID: 60998 RVA: 0x0027C665 File Offset: 0x0027A865
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.rotaterDataList_.WriteTo(ref output, UpdateRotaterScNotify._repeated_rotaterDataList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600EE47 RID: 60999 RVA: 0x0027C68C File Offset: 0x0027A88C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.rotaterDataList_.CalculateSize(UpdateRotaterScNotify._repeated_rotaterDataList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600EE48 RID: 61000 RVA: 0x0027C6C5 File Offset: 0x0027A8C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UpdateRotaterScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.rotaterDataList_.Add(other.rotaterDataList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600EE49 RID: 61001 RVA: 0x0027C6F3 File Offset: 0x0027A8F3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600EE4A RID: 61002 RVA: 0x0027C6FC File Offset: 0x0027A8FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 106U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.rotaterDataList_.AddEntriesFrom(ref input, UpdateRotaterScNotify._repeated_rotaterDataList_codec);
				}
			}
		}

		// Token: 0x04005E2C RID: 24108
		private static readonly MessageParser<UpdateRotaterScNotify> _parser = new MessageParser<UpdateRotaterScNotify>(() => new UpdateRotaterScNotify());

		// Token: 0x04005E2D RID: 24109
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005E2E RID: 24110
		public const int RotaterDataListFieldNumber = 13;

		// Token: 0x04005E2F RID: 24111
		private static readonly FieldCodec<RotaterData> _repeated_rotaterDataList_codec = FieldCodec.ForMessage<RotaterData>(106U, RotaterData.Parser);

		// Token: 0x04005E30 RID: 24112
		private readonly RepeatedField<RotaterData> rotaterDataList_ = new RepeatedField<RotaterData>();
	}
}
